package com.lizhi.note.repository;


import com.lizhi.note.entity.NotebookEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

public interface NotebookRepository extends JpaRepository<NotebookEntity, Long> {

    Optional<NotebookEntity> findByNotebook(String notebook);
}
